@import 'public.scss';
.container{
    width: 1200px;
    margin: 0 auto;
}
a:hover{
    color: #669900;
}
// 头部图片
.topshow{
    background: url(../img/headbg.jpg) center top no-repeat; 
    width: 100%;
    height: 80px;
    .close {
        position: absolute;
        display: inline-block;
        top: 5px;
        left: 50%;
        margin-left: 535px;
        width: 25px;
        height: 16px;
        background: url(../img/topclose.png) no-repeat center center;
        cursor: pointer;
        text-indent: -9999px;
    }
}
// 头部导航
nav{
    width: 100%;
    height: 33px;
    text-align: center;
    position: relative;
    z-index: 101;
    background: #f7f7f7;
    border-bottom: 1px solid #eeeeee;
    
    li{
        float: left;
        position: relative;
        line-height: 33px;
        &:nth-of-type(1){
            color: #969696;
        }
        &:nth-of-type(2){
            p{
                width: 50px;
                height: 20px;
                line-height: 20px;
                border: 1px solid #DCDCDC;
                position: relative;
                margin: 6px 0 0 0;
                overflow: hidden;
                &:hover{
                    background: white;
                }
                &:hover>b{
                    transform: rotate(180deg);
                }
                span{
                    margin: 0 0 0 5px;
                    width: 30px;
                    overflow: hidden;
                    display: block;
                    color: #333333;
                }
                b{
                    background: url(../img/header.png) no-repeat -86px -130px;
                    width: 8px;
                    height: 4px;
                    position: absolute;
                    top: 7px;
                    right: 5px;
                }
            }
            .dd {
                z-index: 2;
                background: white;
                display: none;
                position: absolute;
                width: 438px;
                border: 1px solid #DCDCDC;
                text-align: left;
                margin: 0;
                .city_top {
                    margin: 5px 10px 5px 10px;
                    height: 30px;
                    border-bottom: 1px solid #DCDCDC;
                    line-height: 30px;
                    span{
                        float: left;
                        color: #969696;
                    }
                    .off{
                        float: right;
                        background: url(../img/index_icon_new.png) -245px -33px no-repeat;
                        width: 18px;
                        height: 18px;
                        margin: 5px 0 0 0;
                        cursor: pointer;
                    }
                }
                .city_middle {
                    margin: 0px 10px 5px 10px;
                    li {
                        width: 38px;
                        float: left;
                        position: relative;
                        line-height: 33px;
                        a {
                            color: #0099FF;
                        }
                    }
                }
                .clear {
                    clear: both;
                    padding: 0px;
                    font-size: 0px;
                    margin: 0px;
                    height: 0px;
                    line-height: 0;
                    overflow: hidden;
                    display: block;
                }
                .city_bottom {
                    margin: 5px 10px 15px 10px;
                    color: #969696;
                    .quyu {
                        float: left;
                        height: 25px;
                        line-height: 25px;
                        color: #969696;
                    }
                    ul {

                        li {
                            width: 40px;
                            text-align: center;
                            height: 25px;
                            line-height: 22px;
                            cursor: pointer;
                            color: #333333;
                        }
                    }
                }
            }

        }
    }
    .navRight{
        li {
            float: left;
            position: relative;
            line-height: 33px;
            padding: 0 10px;
        }
        a{
            color: #969696;
            &:hover{
                color: #669900;
            }
        }
        .dl,span{
            float: left;
        }
        .exit{
            float: left;
            display: none;
        }
        float: right;
        .login{
            color: #999999;
            padding: 0 10px;
            .newregbox {
                position: relative;
                display: inline-block;
                .newregdiv {
                    width: 147px;
                    cursor: pointer;
                    height: 34px;
                    text-align: center;
                    position: absolute;
                    top: 27px;
                    left: -63px;
                    .up-icon {
                        display: inline-block;
                        width: 11px;
                        height: 7px;
                        background: url(http://i.sfimg.cn/html/images/regicon-top.png) left top;
                        position: absolute;
                        top: 0;
                        left: 75px;
                    }
                    .newregTips{
                        display: inline-block;
                        margin-top: 7px;
                    }
                    .newwords {
                        color: #fff;
                        font-size: 12px;
                        height: 22px;
                        float: left;
                        padding: 0 8px;
                        min-width: 60px;
                        text-align: left;
                        overflow: hidden;
                        background: #f14431;
                        border-radius: 10px;
                        line-height: 22px;
                        
                    }
                }
            }
        }
        .allCat{
            &:hover>b{
                transform: rotate(180deg);
            }
            &:hover>.dd{
                display: block;
            }
            b{
                background: url(../img/header.png) no-repeat -86px -130px;
                width: 8px;
                transition: transform .2s ease-in 0s;
                height: 4px;
                position: absolute;
                top: 12px;
            }
            .dd{
                display: none;
                position: absolute;
                background: white;
                z-index: 2;
                top: 28px;
                width: 815px;
                right: 0;
                margin-right: -10px;
                left: auto;
                padding-top: 10px;
                box-shadow: 0 0 5px #dadada;
                dl {
                    float: left;
                    width: 200px;
                    padding: 15px 19px 0 20px;
                    text-align: left;
                    margin-bottom: 10px;
                    dt {
                        font-weight: bold;
                        margin-bottom: 5px;
                        font-size: 16px;
                    }
                    .dh1{
                        color: #669900;
                    }
                    .dh2{
                        color: #FA6400;
                    }
                    .dh3 {
                        color: #646464;
                    }
                }
                .line {
                    background: url(http://i.sfimg.cn/html/images/foot/line.jpg) center repeat-y;
                    height: 90px;
                    width: 5px;
                    margin: 20px 0 ;
                }
            }
        }
        .menus{
            &:hover>.dd{
                display: block;
            }
            &:hover>b{
                transform: rotate(180deg);
            }
            b {
                position: absolute;
                right: 1px;
                top: 13px;
                background: url(../img/header.png) no-repeat -86px -130px;
                width: 8px;
                height: 4px;
                transition: transform .2s ease-in 0s;
                overflow: hidden;
            }
            .dd {
                background: white;
                display: none;
                position: absolute;
                margin-left: 5px;
                line-height: 22px;
                left: 0;
                width: 78px;
                box-shadow: 0 0 5px #dadada;
                top: 28px;
            }
        }
        .d2{
            span{
                display: inline-block;
                background: url(../img/header.png) no-repeat -73px -122px;
                width: 10px;
                left: 10px;
                margin: 8px;
                height: 16px;
                transition: all 0.2s ease 0s;
            }
            &:hover>span{
                background: url(../img/header.png) no-repeat -73px -138px;
            }
            &:hover>.dd{
                display: block;
            }
            .dd{
                display: none;
            }
            img{
                position: absolute;
                left: -62px;
                width: 230px;
            }
        }
        .d3{
            width: 19px;
            height: 16px;
            margin-left: 3px;
            q {
                height: 16px;
                position: absolute;
                top: 9px;
                background: url(../img/header.png) no-repeat -55px 0;
                width: 100%;
                left: 12px;
                cursor: pointer;
                quotes: none;
            }
        }
        .wx{
            width: 19px;
            height: 16px;
            q {
                height: 16px;
                position: absolute;
                top: 9px;
                background: url(../img/header.png) no-repeat -74px 0;
                width: 100%;
                left: 12px;
                cursor: pointer;
                quotes: none;
            }
        }
    }
    
}
// 搜索框
.head-inner{
    position: relative;
    height: 104px;
    img{
        width: 240px;
        margin: 0px;
        float: left;
        padding: 5px 0px 0px 0px;
        position: relative;
    }
    .inner-img{
        float: right;
        width: 650px;
        padding-top: 30px;
    }
}
// 主体内容
.gmain{
    width: 1200px;
    margin:0 auto;
    .top{
        width:1000px;
        height: 33px;
        line-height: 33px;
        span{
            &:nth-of-type(1){
                font-size: 20px;
                font-weight: bold;
                margin:5px 10px;
            }
            &:nth-of-type(2){
                margin:5px 10px
            }
        }
        input{
            width: 100px;
            height: 20px;
            line-height: 20px;
            margin-left: 20px;
            transform: translateY(-2px);
        }
    }
    .middle{
        table{
            width: 1200px;
            margin:0 auto;
            thead{
                tr{
                    &:nth-of-type(1){
                        height: 40px;
                        line-height: 40px;
                        background: #81A84A;
                        color:#FFFFFF;
                    }
                    :nth-of-type(2){
                        background: #c0c0c0;
                    }
                }
            }
            tbody{
                height: 103px;
                tr{
                    height: 103px;
                    padding: 10px 0;
                    text-align: center;
                    background: #F5F5DC;
                }
                img{
                    width:62px;
                    height: 62px;
                    display: inline-block;
                    margin-left:20px
                }
                .num2{
                    display: inline-block;
                    background: #fff;
                    width: 20px;
                }
                .nums{
                    display: inline-block;
                    background: rgb(238, 237, 237);
                    width: 20px;
                    // float: left;
                    text-align: center;
                }
            }
            tfoot{
                background: #e7e7e7;
                height: 46px;
                margin-top: 20px;
                line-height: 46px;
                text-align: center;
                border: 1px solid #d2d2d2;
                background: #e7e7e7;
                font-size: 12px;
                input{
                    position: relative;
                    left: -30px;
                }
                #total{
                    color: #ff5500;
                    font-size: 14px;
                    font-weight: bold;
                }
                #pnum{
                    color: #ff5500;
                    font-size: 14px;
                    font-weight: bold;
                }
            }
        }
        .continue1{
            height: 65px;
            position: relative;
            a{
                display: block;
                text-align: center;
                line-height: 30px;
                position: absolute;
                right:200px;
                top:17px;
                width: 73px;
                border: 1px solid #a5cf69;
                color: #666666;
                margin: 0 10px 0 0;
                cursor: pointer;
                background: url(http://i.sfimg.cn/pcfront/cart/images/header.png) no-repeat 0 -225px;
            }
            button{
                display: block;
                width: 140px;
                height: 50px;
                background: #6e9b0c;
                text-align: center;
                line-height: 50px;
                position: absolute;
                right:20px;
                top:8px;
                color:#FFFFFF;
            }
        }
    }
}

// 侧边栏
.side-wrap{
    position: fixed;
    bottom: 20px;
    left: 50%;
    margin-left: 610px;
    z-index: 999;
        a{
            margin-top: 6px;
            width: 44px;
            height: 44px;
            display: block;
        }
        .kefuicon {
            background: url(http://i.sfimg.cn/html/images/index_kefu.png) center center no-repeat;
        }
        .side_v{
            background: url(http://i.sfimg.cn/html/images/paid/paid_bg.png) no-repeat -41px -182px;
        }
        .s-cart {
            background: url(http://i.sfimg.cn/html/images/productList.png) no-repeat 0 -45px;
        }
        .s-guang {
            background: url(http://i.sfimg.cn/html/images/productList.png) no-repeat -42px -82px;
        }
        .s-app {
            background: url(http://i.sfimg.cn/html/images/productList.png) no-repeat -42px -40px;
            text-indent: -999px;
        }
        .s-promote {
            background: url(../img/sf_new_bg.png) no-repeat 0 -27px;
            text-indent: -9999px;
        }
        .s-top{
            background: url(http://i.sfimg.cn/html/images/productList.png) no-repeat 0 -82px;
        }
}
// 页脚
footer{
    clear: both;
    .middle{
        float: left;
        width: 290px;
        height: 145px;
        margin: 20px 0px 0px 10px;
        background: url(http://i.sfimg.cn/html/images/foot/logo.jpg) no-repeat left top;
    }
    ul{
        padding: 85px 0 0 0;
    }
    .kefu {
        font-size: 20px;
        color: #646464;
        font-weight: bold;
        padding: 6px 0;
    }
    .right{
        float: left;
        margin: 35px 0 0 0;
        width: 645px;
        ul {
            float: left;
            margin: 0px 8px 0px 0px;
            padding: 0px 0px 0px 0px;
            width: 120px;
            .title {
                color: #707070;
                font-weight: bold;
                font-size: 14px;
            }
            li {
                text-align: left;
                height: 24px;
                line-height: 24px;
                color: #646464;
            }
        }
    }
    .left {
        float: left;
        margin: 35px 0 0 0;
        width: 235px;
        height: 145px;
        .f_ios{
            margin: 0 50px 8px 0;
        }
        ul {
            margin: 0px;
            padding: 0px 0px 0px 0px;
            float: left;
            width: 80px;
            
            li {
                width: 80px;
                text-align: center;
                line-height: 24px;
                float: left;
            }
            span {
                display: block;
                width: 80px;
                height: 80px;
                background: url(http://i.sfimg.cn/html/images/foot_bottom.png) no-repeat 0px 0px;
                margin: auto;
            }
        }
        .f_wx span {
            background: url(http://i.sfimg.cn/html/images/foot_bottom.png) no-repeat -83px 0px;
        }
    }
    .foot-bottom{
        clear: both;
        height: 50px;
        margin: 0px auto;
        border-top: 1px solid #E0E0E0;
        padding-top: 15px;
        position: relative;
        img{
            float: left;
            width:94px; 
            height:33px;
            margin-left: 5px;
        }
        .siteinfo{
            float:left; 
            position: absolute; 
            top: 13px; 
            left: 280px;
            padding:0 20px;
            span {
                padding-left: 13px;
            }
        }
    }
}